package com.chant.startFarming.service;

import com.chant.startFarming.dto.LoginFormDTO;
import com.chant.startFarming.dto.Result;
import com.chant.startFarming.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.util.List;


/**
 * <p>
 * 用户表，存储系统用户的基本信息 服务类
 * </p>
 *
 * @author chant
 * @since 2025-03-31
 */
public interface IUsersService extends IService<Users> {

    List<Users> searchUsers(String name, String phone, Integer role, Integer userStatus);

    Result login(LoginFormDTO loginForm, HttpSession session);

}
